package com.ruoyi.eqmonitor.phase1.rabbit;

import org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;

/**
 * 自定义RabbitMQ的启动配置类，可以通过配置变量来控制启用、禁用
 */
@Configuration
@ConditionalOnProperty(value = "spring.rabbitmq.enable")
public class RabbitMqAutoConfiguration extends RabbitAutoConfiguration {
}
